package io.github.hayeka.a1_threadlocalandmultidatasource.前置知识.A3;

//==================================
//      @Author hayeka
//      @Email hayeka@2980.com
//      @Date 2021/6/16
//==================================

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class T_Three_Thread {


    //先拿Logger对象
    private static final Logger logger = LoggerFactory.getLogger(T_Three_Thread.class);


    public static void main(String[] args) {

        logger.info("请开始你们的表演");

        new Thread(new Runnable() {
            @Override
            public void run() {
                logger.info("宝 我今天去输液了 输的什么液 想你的夜~~~");
            }
        }, "高富帅").start();

        new Thread(new Runnable() {
            @Override
            public void run() {
                logger.info("拜拜");
            }
        }, "网红").start();

        new Thread(new Runnable() {
            @Override
            public void run() {
                logger.info("吃瓜...");
            }
        }, "我").start();

        logger.info("表演结束");
    }
}
